package com.kakarote.examine.entity.BO;

import com.kakarote.core.feign.crm.entity.BiEntityParams;
import com.kakarote.core.feign.crm.entity.CrmSearchBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @author JiaS
 * @date 2020/12/19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ExaminePageBO extends BiEntityParams {

    @ApiModelProperty(value = "0 OA 1 合同 2 回款 3发票 4薪资 5 采购审核 6采购退货审核 7销售审核 8 销售退货审核 9付款单审核10 回款单审核11盘点审核12调拨审核")
    private Integer label;

    @ApiModelProperty(value = "0 OA")
    private Integer groupType;

    private Boolean isPart;

    private Integer status;

    @ApiModelProperty(value = "OA审批id")
    private Long categoryId;

    @ApiModelProperty(value = "查询审核名称")
    private String search;

    private List<Integer> labelList;

    private List<Long> typeIdList;

    private List<Long> recordIdList;

    @ApiModelProperty(value = "审批状态")
    private Integer examineStatus;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    /**
     * 仅用于审批导出
     */
    @ApiModelProperty(value = "导出字段")
    private List<Map<String, Object>> fieldList;

    //----------------------------------
    //1.归档 2作废
    @ApiModelProperty("仅用于后端查询  归档作废标识 0.正常 3.归档 4作废")
    private Integer archiveOrVoidFlag;
    //----------------------------------
    @ApiModelProperty("高级筛选条件")
    private CrmSearchBO searchBO;

}
